.task-list {
  flex: 1;
  .task-item {
    margin-bottom: 10px;
    &__container {
      overflow: auto;

      padding: 10px 10px;
      &:nth-child(1) {
        height: calc(100vh - 40px);
      }
      &:nth-child(2) {
        max-height: calc(100vh - 130px);
      }
    }
    &__detail {
      display: flex;
      width: 100%;
      padding-top: 10px;
      flex-wrap: wrap;
    }
  }
  .task-content-list-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    position: relative;
    padding-right: 10px;
    &__title {
      font-weight: bold;
      width: 100%;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      &--timeout {
        color: red;
      }
    }
    &__desc {
      font-size: 12px;
      color: #999999;
      width: 100%;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    &__delete {
      position: absolute;
      width: 10px;
      height: 100%;
      right: -6px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #ddd;
      border-radius: 4px;
      opacity: 0;
      transition: all 0.2s;

      
      &:hover {
        opacity: 1;
      }
      span {
        position: relative;
        width: 100%;
        height: 100%;
        &::before {
          position: absolute;
          content: "";
          width: 8px;
          height: 1px;
          background-color: #666;
          transform: rotate(-45deg);
          left: 0;
          right: 0;
          top: 0;
          bottom: 0;
          margin: auto;
        }
        &::after {
          position: absolute;
          content: "";
          width: 8px;
          height: 1px;
          background-color: #666;
          transform: rotate(45deg);
          left: 0;
          right: 0;
          top: 0;
          bottom: 0;
          margin: auto;
        }
      }
    }
  }
}
